<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>站点表</title>
<%@ include file="/WEB-INF/page/public/meta.jsp"%>
</head>
<body>
  
 <div style="margin: 20px;">
     <blockquote class="layui-elem-quote list_search">
         <%--<shiro:hasPermission name="xinyongka:xinyongka:save">--%>
         <div class="layui-inline">
             <a class="layui-btn layui-btn-normal cmssiteAdd_btn" id="cmssiteAdd_btn"><i
                     class="layui-icon">&#xe608;</i> 添加</a>
         </div>
         <%--</shiro:hasPermission>--%>
         <shiro:hasPermission name="sys:admin:delete">
             <div class="layui-inline">
                 <a class="layui-btn layui-btn-danger batchDel"><i
                         class="layui-icon">&#xe640;</i>批量删除</a>
             </div>
         </shiro:hasPermission>
         <%--<div class="layui-inline">--%>
         <%--<div class="layui-form-mid layui-word-aux"><a class="layui-btn layui-btn-danger" id="testdata" ><i--%>
         <%-->&#xe640;</i>测试数据</a>--%>
         <%--</div>--%>
         <%--</div>--%>
     </blockquote>
	<table class="layui-table" lay-data="{ url:'${ctx}/cmssite/list', method:'post',  page:true, id:'listTable'}" lay-filter="list">
	  <thead>
	    <tr>
	      <th lay-data="{type:'checkbox', fixed: 'left'}"></th>
	      							   <th lay-data="{field:'id',width:300}">编号</th>
		    			 			   <th lay-data="{field:'name',width:300}">站点名称</th>
		    			 			   <th lay-data="{field:'title',width:300}">站点标题</th>
		    			 			   <th lay-data="{field:'logo',width:300}">站点Logo</th>
		    			 			   <th lay-data="{field:'domain',width:300}">站点域名</th>
		    			 			   <th lay-data="{field:'description',width:300}">描述</th>
		    			 			   <th lay-data="{field:'keywords',width:300}">关键字</th>
		    			 			   <th lay-data="{field:'theme',width:300}">主题</th>
		    			 			   <th lay-data="{field:'copyright',width:300}">版权信息</th>
		    			 			   <th lay-data="{field:'customIndexView',width:300}">自定义站点首页视图</th>
		    			 			   <th lay-data="{field:'createBy',width:300}">创建者</th>
		    			 			   <th lay-data="{field:'updateBy',width:300}">更新者</th>
		    			 			   <th lay-data="{field:'remarks',width:300}">备注信息</th>
		    			 			   <th lay-data="{field:'delFlag',width:300}">删除标记</th>
		    			 			   <th lay-data="{field:'createTime',width:300}">创建时间</th>
		    			 			   <th lay-data="{field:'updateTime',width:300}">更新时间</th>
		    			 			   <th lay-data="{field:'deleteTime',width:300}">删除时间</th>
		    	      <th lay-data="{fixed: 'right', align:'center', toolbar: '#bar',width:300}">操作</th>
	    </tr>
	  </thead>
	</table>
	<script type="text/html" id="bar">
 	  <%--<a class="layui-btn layui-btn-xs" lay-event="show" >查看</a>--%>
 	  <a class="layui-btn layui-btn-xs" lay-event="edit" >修改</a>
 	  <a class="layui-btn layui-btn-xs" lay-event="del" >删除</a>
	</script> 
</div>
 <script type="text/javascript" src="${ctx }/layui/layui.js"></script>
 <script src="${ctx }/page/cmssite/cmssite.js?<%=System.currentTimeMillis()%>"></script>
</body>
</html>

 